package com.toma.booking.model;

import java.sql.SQLException;
import java.util.List;

import com.toma.booking.dto.memberDto;
import com.toma.booking.ibatis.SqlDaoSuport;

public class MemberManager extends SqlDaoSuport implements IMember {


	@Override
	public int addmember1(memberDto dto) {
		int answer=-1;
		try {
			this.getSqlMapClient().insert("addmember1", dto);
			answer = 1;
		} catch (SQLException e) {
			System.out.println("addmember1 : " + e);
			answer=0;
		}
		return answer;
	}


}
